#pragma once

#include <fstream>
#include <glad/glad.h>
#include <string>
using std::string, std::ifstream, std::ios;

string readShaderSource(const char *filePath) {
  string content;
  ifstream fileStream(filePath, ios::in);
  string line = "";
  while (!fileStream.eof()) {
    getline(fileStream, line);
    content.append(line + "\n");
  }
  fileStream.close();
  return content;
}

